
const http = uni.$uv.http

// export const postMenu = (data, config = {}) => http.post('/ebapi/public_api/index', data, config)

// video-Player推荐列表 
export const getVideoListwx = (data) => http.get('/app-api/member/skit/slide-episode-list', {
	params: data
})

// video-Player剧集详情
export const getVideoPlayerListwx = (data) => http.get('/app-api/member/skit/detail', {
	params: data
})

// 剧集列表（封面）
export const getIndexVideoList = (data) => http.get('app-api/member/skit/recommend/page', {
	params: data
})

// 最近浏览记录
export const getBrowseList = (data) => http.get('/app-api/member/skit/last-watch-list', {
	params: data
})

// 充值面板
export const getUsable = (data) => http.get('/app-api/member/goods/currency-selling-list', {
	params: data
})

// 记录观看的剧集
export const log = (data, config = {}) => http.post('/app-api/member/skit-episode/recode-watch-episode', data, config)

// 查询用户支付状态 微信
export const payState = (data, config = {}) => http.post('/app-api/member/order/query/pay-state', data, config)

// 查询用户支付状态 抖音
export const payStatett = (data, config = {}) => http.post('/app-api/member/order/query/bytedance-pay-state', data, config)

// 提交订单（充值）
export const pay = (data, config = {}) => http.post('/app-api/member/order/submit-order', data, config)

// 我的信息详情
export const myDetail = (data, config = {}) => http.post('/app-api/member/my/my-detail', data, config)

// 记录观看的时长
export const watchTime = (data, config = {}) => http.post('/app-api/member/skit-episode/recode-watch-time', data, config)

// 我的观看记录
export const getMyBrowse = (data) => http.get('app-api/member/my/my-watch-page', {
	params: data
})

// 订单明细
export const getOrderPage = (data) => http.get('/app-api/member/order/order-page', {
	params: data
})



// 线上的活动列表(领金币)
export const getShelfList = (data) => http.get('/app-api/member/activity/shelf-list', {
	params: data
})

// 领取活动的奖励(领金币)
export const getAward = (data, config = {}) => http.post('/app-api/member/activity/receive-activity-reward', data, config)


// 是否可以看剧领金币(领金币)

export const isReward = (data) => http.get('/app-api/member/activity/check-receive-reward', {
	params: data
})

// 核销字节的优惠券
export const verifyCoupon = (data, config = {}) => http.post('/app-api/member/third-verification/verify-bytedance-coupon', data, config)